﻿using ChuanYe.CountyFireManagement.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ChuanYe.CountyFireManagement.Api.Models
{
    public class SmsInfoRequest
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int SmsId { get; set; }

        /// <summary>
        /// 选填 目标用户
        /// </summary>
        public int? TargetUserId { get; set; }

        /// <summary>
        /// 选填 目标用户名称
        /// </summary>
        public string TargetUserName { get; set; }

        /// <summary>
        /// 电话号码
        /// </summary>
        public string MobileCode { get; set; }

        /// <summary>
        /// 发送内容
        /// </summary>
        public string SmsContent { get; set; }

        /// <summary>
        /// 发送者
        /// </summary>
        public int SendUserID { get; set; }

        /// <summary>
        /// 发送状态 0.未发送，1已发送
        /// </summary>
        public int IsAchieved { get; set; }

        /// <summary>
        /// 发送时间
        /// </summary>
        public DateTime? AchievedDate { get; set; }

    }


    public class SmsInfoArrayRequest
    {
        /// <summary>
        /// 多条
        /// </summary>
        public List<SmsInfoRequest> List { get; set; }
    }



    public class SmsInfoSearchRequest : RequestPageBase
    {
         /// <summary>
         /// 0.所有 1.非临时用户 2.零食用户
         /// </summary>
         public int SearchType { get; set; }

        /// <summary>
        /// 发送者
        /// </summary>
        public int SendUserId { get; set; }

        /// <summary>
        /// 接收者
        /// </summary>
        public int TargetUserId { get; set; }


        /// <summary>
        /// 发送者部门
        /// </summary>
        public int SendDepId { get; set; }

        /// <summary>
        /// 接收者部门
        /// </summary>
        public int TargetDepId { get; set; }

        /// <summary>
        /// MobileCode TargetUserName  SendUserName  SendDepName  TargetDepName
        /// </summary>

        public override string Keyword { get; set; }


        /// <summary>
        /// 发送者大区
        /// </summary>
        public string SendAddressCounty { get; set; }
    }

}
